package com.xbongbong.sys.enums;

import lombok.Getter;

@Getter
public enum JobStatusEnum {
    /**
     *
     */
    RUNNING(1,"running","进行中"),
    ERROR(2,"error","异常"),
    FINISH(3,"finish","完成"),
    UNKNOW(4,"unknow","查无此脚本"),
    ;
    private Integer code;

    private String alias;

    private String name;

    private JobStatusEnum(int code, String alias, String name) {
        this.code = code;
        this.alias = alias;
        this.name = name;
    }
}
